package com.appwoo.txtws.service;

import android.content.Context;
import android.content.Intent;
import com.appwoo.txtws.component.DBHelper;
import com.appwoo.txtws.component.Global;
import com.appwoo.txtws.component.NotifyDao;
import java.util.ArrayList;

public class RQNotify
{
  private Context context;

  public RQNotify(Context paramContext)
  {
    this.context = paramContext;
  }

  public ArrayList<NotifyDao> getNotify()
  {
    new ArrayList();
    return new DBHelper(this.context).getNotifys();
  }

  public void rqNotify(ArrayList<NotifyDao> paramArrayList)
  {
    if (paramArrayList.size() > 0)
    {
      new DBHelper(this.context).addNotify(paramArrayList);
      if ((Global.isSchool == 1) && ("0".equals(new RQScreenLock(this.context).getSrnCmd())))
      {
        Intent localIntent = new Intent("showNotify");
        this.context.sendBroadcast(localIntent);
      }
    }
  }
}

/* Location:           C:\Documents and Settings\Administrator\classes_dex2jar.jar
 * Qualified Name:     com.appwoo.txtws.service.RQNotify
 * JD-Core Version:    0.6.2
 */